Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usdAbc: Correctly interpret indexed ArbGeomParams from Alembic files #3473

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

boberfly
Copy link
Contributor

Description of Change(s)

When opening referenced Alembics into a USD stage, the ArbGeomParams would tend to follow a code-path which doesn't take indexed values into account. After learning how usdAbc works I saw that it takes a code-path which is treating ArbGeomParams out-of-schema however it should be using the schema out of UsdGeomPrimvars so this code addresses this also.

Fixes Issue(s)

Prior to this, we found that loading indexed primvars into Gaffer wouldn't function as intended, @johnhaddon has a demonstration here: ImageEngine/cortex#1415

The custom/out-of-schema functionality prevents the UsdGeomPrimvarsAPI from working, so the indices would come in as attribute constant arrays.

image

Checklist

[x] I have created this PR based on the dev branch

[x] I have followed the coding conventions

[x] I have added unit tests that exercise this functionality (Reference:
testing guidelines)

[ ] I have verified that all unit tests pass with the proposed changes

[x] I have submitted a signed Contributor License Agreement (Reference:
Contributor License Agreement instructions)

@boberfly boberfly force-pushed the fixes/usdAbc/arbGeomParams branch from 9bfdac1 to 7de3d8d Compare December 20, 2024 01:50
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10527

(This is an automated message. See here for more information.)

@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants